<div class="panel panel-default panel-intro">
    {:build_heading()}

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i
                                class="fa fa-refresh"></i> </a>

                        <a href="javascript:;"
                           class="btn btn-success btn-add {:$auth->check('material/category/add')?'':'hide'}"
                           title="{:__('创建分类')}"><i class="fa fa-plus"></i> {:__('创建分类')}</a>
                        {if $pid}
                        <a href="{:url('/admin/material/category/index/pid/')}{$pidPid}/course_id/{$course_id}"
                           class="btn btn-success btn-index {:$auth->check('material/category/index')?'':'hide'}"
                           title="{:__('返回上级分类')}"><i class="fa fa-arrow-left"></i> {:__('返回上级分类')}</a>
                        {/if}
                        <ul class="breadcrumb"
                            style="margin-bottom: 0px;margin-left:1px;display: inline-block;line-height: 1.42857143;vertical-align: middle;    padding: 6px 12px;">
                            {foreach $allLiList as $key=>$vo }
                            {$vo}
                            {/foreach}
                        </ul>
                        {if $courseName}
                            <a href="javascript:;" class="btn btn-default"  title="您正在管理{$courseName}的资料分类">您正在管理{$courseName}的资料分类</a>
                        {/if}
                    </div>
                    <input type="hidden" name="pid" id="pid" value="{$pid}">
                    <input type="hidden" name="course_id" id="course_id" value="{$course_id}">
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap"
                           data-operate-edit="{:$auth->check('material/category/edit')}"
                           data-operate-del="{:$auth->check('material/category/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
